<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		<title>OA2HR 异常日志</title>
	</head>
	

	<body style="font">
		ssss
		<script type="text/javascript">
	window.onload = function(){
		var logTbody = document.getElementById("logTbody");
		var length = logArray.length;
		
		document.write( 
		['<html><style type="text/css">td {font-size: 75%}</style><body><TABLE BORDER="1" align="center">',
			'<tbody valign="middle" >',
				'<tr>',
					'<td >',
						'序号',
					'</td>',
					'<td>',
						'标题',
					'</td>',
					'<td style="width:80px">',
						'发起人',
					'</td>',
					'<td style="width:130px">',
						'制造部',
					'</td>',
					'<td style="width:100px">',
						'所在部门',
					'</td>',
					'<td style="width:110px">',
						'发起时间',
					'</td>',
					'<td style="width:110px">',
						'结束时间',
					'</td>',
					'<td>',
						'表单名称',
					'</td>',
				'</tr>'
			].join(""));
		
		for( var i = 0 ; i < length; i++ ){
			
			document.write([ "<tr>", "<td>",i+1 , "</td>", 
							"<td>",logArray[i].title , "</td>", 
							"<td>",logArray[i].sender , "</td>", 
							"<td>",logArray[i].account , "</td>", 
							"<td>",logArray[i].dep , "</td>", 
							"<td>",logArray[i].startTime , "</td>", 
							"<td>",logArray[i].finishTime , "</td>", 
							"<td>",logArray[i].formName , "</td>","</tr>"].join(""));
		}
		
		document.write("</tbody></table></body></html>")
		
	}
	var logArray = ${errorLog};
</script>
	</body>
</html>

